Skip to content

665 changed the timeline years display#916

Open
kamerynB wants to merge 1 commit intorelease-v1.68from
665-change-timeline-date-display
Open

665 changed the timeline years display#916
kamerynB wants to merge 1 commit intorelease-v1.68from
665-change-timeline-date-display

Conversation

@kamerynB
Copy link
Copy Markdown
Contributor

No description provided.

@kamerynB kamerynB requested a review from clarkepeterf April 14, 2026 20:03
static showYearEra(years: Array<string>): boolean {
if (
parseInt(years[0], 10) < 0 ||
parseInt(years[years.length - 1], 10) < 0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the years are sorted ascending, so you only need to check years[0], no need to check years[years.length -1]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@clarkepeterf Removed.

@kamerynB kamerynB force-pushed the 665-change-timeline-date-display branch from 196dac7 to 81e99d2 Compare April 21, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants